module.exports = async (ctx, next) => {
  //开始的时间

  let timeStart = new Date().getTime();
  //获取请求结束的时间
  await next();
  let timeEnd = new Date().getTime();
  console.log(`请求地址:${ctx.path} 请求的时间是:${timeEnd-timeStart}ms`);

};
